<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>The OCI-Lob class</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="oci-collection.trim.html">OCI-Collection::trim</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="oci-lob.append.html">OCI-Lob::append</a></div>
 <div class="up"><a href="book.oci8.html">OCI8</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="class.OCI-Lob" class="reference">
 <h1 class="title">The OCI-Lob class</h1>
 
 
 <div class="partintro"><p class="verinfo">(PHP 5, PECL OCI8 &gt;= 1.1.0)</p>
 

  <div class="section" id="OCI-Lob.intro">
   <h2 class="title">简介</h2>
   <p class="para">
    OCI8 LOB functionality for large binary (BLOB) and character (CLOB) objects.
   </p>
  </div>

 
  <div class="section" id="OCI-Lob.synopsis">
   <h2 class="title">类摘要</h2>
 

   <div class="classsynopsis">
    <div class="ooclass"></div>
 

    <div class="classsynopsisinfo">
     <span class="ooclass">
      <strong class="classname">OCI-Lob</strong>
     </span>
     {</div>

 
    <div class="classsynopsisinfo classsynopsisinfo_comment">/* 方法 */</div>
    <div class="methodsynopsis dc-description">
   <span class="type">bool</span><span class="methodname"><a href="oci-lob.append.html" class="methodname">append</a></span>
    ( <span class="methodparam"><span class="type"><span class="type OCI-Lob">OCI-Lob</span></span> <code class="parameter">$lob_from</code></span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="type">bool</span><span class="methodname"><a href="oci-lob.close.html" class="methodname">close</a></span>
    ( <span class="methodparam">void</span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="type">bool</span><span class="methodname"><a href="oci-lob.eof.html" class="methodname">eof</a></span>
    ( <span class="methodparam">void</span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="type">int</span><span class="methodname"><a href="oci-lob.erase.html" class="methodname">erase</a></span>
    ([ <span class="methodparam"><span class="type">int</span> <code class="parameter">$offset</code></span>
   [, <span class="methodparam"><span class="type">int</span> <code class="parameter">$length</code></span>
  ]] )</div>
<div class="methodsynopsis dc-description">
   <span class="type">bool</span><span class="methodname"><a href="oci-lob.export.html" class="methodname">export</a></span>
    ( <span class="methodparam"><span class="type">string</span> <code class="parameter">$filename</code></span>
   [, <span class="methodparam"><span class="type">int</span> <code class="parameter">$start</code></span>
   [, <span class="methodparam"><span class="type">int</span> <code class="parameter">$length</code></span>
  ]] )</div>
<div class="methodsynopsis dc-description">
   <span class="type">bool</span><span class="methodname"><a href="oci-lob.flush.html" class="methodname">flush</a></span>
    ([ <span class="methodparam"><span class="type">int</span> <code class="parameter">$flag</code></span>
  ] )</div>
<div class="methodsynopsis dc-description">
   <span class="type">bool</span><span class="methodname"><a href="oci-lob.free.html" class="methodname">free</a></span>
    ( <span class="methodparam">void</span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="type">bool</span><span class="methodname"><a href="oci-lob.getbuffering.html" class="methodname">getBuffering</a></span>
    ( <span class="methodparam">void</span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="type">bool</span><span class="methodname"><a href="oci-lob.import.html" class="methodname">import</a></span>
    ( <span class="methodparam"><span class="type">string</span> <code class="parameter">$filename</code></span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="type">string</span><span class="methodname"><a href="oci-lob.load.html" class="methodname">load</a></span>
    ( <span class="methodparam">void</span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="type">string</span><span class="methodname"><a href="oci-lob.read.html" class="methodname">read</a></span>
    ( <span class="methodparam"><span class="type">int</span> <code class="parameter">$length</code></span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="type">bool</span><span class="methodname"><a href="oci-lob.rewind.html" class="methodname">rewind</a></span>
    ( <span class="methodparam">void</span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="type">bool</span><span class="methodname"><a href="oci-lob.save.html" class="methodname">save</a></span>
    ( <span class="methodparam"><span class="type">string</span> <code class="parameter">$data</code></span>
   [, <span class="methodparam"><span class="type">int</span> <code class="parameter">$offset</code></span>
  ] )</div>
<div class="methodsynopsis dc-description">
   <span class="type">bool</span><span class="methodname"><a href="oci-lob.seek.html" class="methodname">seek</a></span>
    ( <span class="methodparam"><span class="type">int</span> <code class="parameter">$offset</code></span>
   [, <span class="methodparam"><span class="type">int</span> <code class="parameter">$whence</code><span class="initializer"> = <strong><code>OCI_SEEK_SET</code></strong></span></span>
  ] )</div>
<div class="methodsynopsis dc-description">
   <span class="type">bool</span><span class="methodname"><a href="oci-lob.setbuffering.html" class="methodname">setBuffering</a></span>
    ( <span class="methodparam"><span class="type">bool</span> <code class="parameter">$on_off</code></span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="type">int</span><span class="methodname"><a href="oci-lob.size.html" class="methodname">size</a></span>
    ( <span class="methodparam">void</span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="type">int</span><span class="methodname"><a href="oci-lob.tell.html" class="methodname">tell</a></span>
    ( <span class="methodparam">void</span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="type">bool</span><span class="methodname"><a href="oci-lob.truncate.html" class="methodname">truncate</a></span>
    ([ <span class="methodparam"><span class="type">int</span> <code class="parameter">$length</code><span class="initializer"> = 0</span></span>
  ] )</div>
<div class="methodsynopsis dc-description">
   <span class="type">int</span><span class="methodname"><a href="oci-lob.write.html" class="methodname">write</a></span>
    ( <span class="methodparam"><span class="type">string</span> <code class="parameter">$data</code></span>
   [, <span class="methodparam"><span class="type">int</span> <code class="parameter">$length</code></span>
  ] )</div>
<div class="methodsynopsis dc-description">
   <span class="type">bool</span><span class="methodname"><a href="oci-lob.writetemporary.html" class="methodname">writeTemporary</a></span>
    ( <span class="methodparam"><span class="type">string</span> <code class="parameter">$data</code></span>
   [, <span class="methodparam"><span class="type">int</span> <code class="parameter">$lob_type</code><span class="initializer"> = OCI_TEMP_CLOB</span></span>
  ] )</div>

   }</div>

 
  </div>
  
 </div>
 
 













































































































































<h2>Table of Contents</h2><ul class="chunklist chunklist_reference"><li><a href="oci-lob.append.html">OCI-Lob::append</a> — Appends data from the large object to another large object</li><li><a href="oci-lob.close.html">OCI-Lob::close</a> — Closes LOB descriptor</li><li><a href="oci-lob.eof.html">OCI-Lob::eof</a> — Tests for end-of-file on a large object's descriptor</li><li><a href="oci-lob.erase.html">OCI-Lob::erase</a> — Erases a specified portion of the internal LOB data</li><li><a href="oci-lob.export.html">OCI-Lob::export</a> — Exports LOB's contents to a file</li><li><a href="oci-lob.flush.html">OCI-Lob::flush</a> — Flushes/writes buffer of the LOB to the server</li><li><a href="oci-lob.free.html">OCI-Lob::free</a> — Frees resources associated with the LOB descriptor</li><li><a href="oci-lob.getbuffering.html">OCI-Lob::getBuffering</a> — Returns current state of buffering for the large object</li><li><a href="oci-lob.import.html">OCI-Lob::import</a> — Imports file data to the LOB</li><li><a href="oci-lob.load.html">OCI-Lob::load</a> — Returns large object's contents</li><li><a href="oci-lob.read.html">OCI-Lob::read</a> — Reads part of the large object</li><li><a href="oci-lob.rewind.html">OCI-Lob::rewind</a> — Moves the internal pointer to the beginning of the large object</li><li><a href="oci-lob.save.html">OCI-Lob::save</a> — Saves data to the large object</li><li><a href="oci-lob.savefile.html">OCI-Lob::saveFile</a> — 别名 OCI-Lob::import</li><li><a href="oci-lob.seek.html">OCI-Lob::seek</a> — Sets the internal pointer of the large object</li><li><a href="oci-lob.setbuffering.html">OCI-Lob::setBuffering</a> — Changes current state of buffering for the large object</li><li><a href="oci-lob.size.html">OCI-Lob::size</a> — Returns size of large object</li><li><a href="oci-lob.tell.html">OCI-Lob::tell</a> — Returns the current position of internal pointer of large object</li><li><a href="oci-lob.truncate.html">OCI-Lob::truncate</a> — Truncates large object</li><li><a href="oci-lob.write.html">OCI-Lob::write</a> — Writes data to the large object</li><li><a href="oci-lob.writetemporary.html">OCI-Lob::writeTemporary</a> — Writes a temporary large object</li><li><a href="oci-lob.writetofile.html">OCI-Lob::writeToFile</a> — 别名 OCI-Lob::export</li></ul>
</div>
<hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="oci-collection.trim.html">OCI-Collection::trim</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="oci-lob.append.html">OCI-Lob::append</a></div>
 <div class="up"><a href="book.oci8.html">OCI8</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>
